package io.mya.modules.sys.dao;

import io.mya.modules.sys.entity.CandyUserEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;


@Mapper
public interface CandyUserDao extends BaseDao<CandyUserEntity> {

    CandyUserEntity queryCandyUser(HashMap<String, Object> map);

    List<CandyUserEntity> queryList(Map<String, Object> map);

    CandyUserEntity queryObject(Long[] id);

    void delete(int[] id);

    void updateByMail(CandyUserEntity candyusercandy);

    int saveCandyUserId(CandyUserEntity candyUserEntity);
}
